Diff/Terr are never negative.
authorrobertl <robertl@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Wed, 14 Sep 2005 13:52:43 +0000 (13:52 +0000)
committerrobertl <robertl@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Wed, 14 Sep 2005 13:52:43 +0000 (13:52 +0000)
gpsbabel/defs.h

index e7a785f0ac345453e323b0d8236f9a337a8bf8cf..0d9756e8eae2fe1c07878d7c31158e030ac77e0c 100644 (file)
@@ -153,8 +153,8 @@ typedef struct {
        int id; /* The decimal cache number */
        geocache_type type:5;
        geocache_container container:4;
-       int diff:6; /* (multiplied by ten internally) */
-       int terr:6; /* (likewise) */
+       unsigned int diff:6; /* (multiplied by ten internally) */
+       unsigned int terr:6; /* (likewise) */
        time_t exported;
        time_t last_found;
        char *placer; /* Placer name */